home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / tex / digex104.zip / DIGEXT.MAK < prev    next >
Text File  |  1991-12-09  |  2KB  |  86 lines

  1. # Borland BCC Makefile as produced by Borland's PRJ2MAK utility.
  2. # Usage:
  3. #  make -fdigext.mak
  4. #
  5. # Note:
  6. # 1 -    Your PATH statement must include wherever BCC.EXE and TLINK.EXE
  7. #    are located.  (MAKE.EXE uses the PATH variable to locate them.)
  8. # 2 -    This file assumes your Borland-related stuff ("\lib", "\inc")
  9. #    is on the path C:\BORLAND.  Edit as appropriate.
  10. # 3 -    DIGEXT could probably be compiled in the TINY model.  I didn't
  11. #    bother (since .EXE programs are more familiar to people these
  12. #    days).
  13. # 4 -    Don't freak if TLINK complains about the duplicate definitions
  14. #    of _setargv_, _argv and _argc.  That comes from the WILDARGS.OBJ
  15. #    module that gives us commandline parameter wildcard capability.
  16. #    You could delete the WILDARGS.OBJ stuff:  this would reduce
  17. #    the executable by 400 bytes or so.  But you also couldn't do
  18. #    neat_and_nifty things like DIGEXT *.SMA :-)
  19. #
  20. # David Kirschbaum
  21. # Toad Hall
  22. # kirsch@usasoc.soc.mil
  23.  
  24. .AUTODEPEND
  25.  
  26. #        *Translator Definitions*
  27. CC = bcc +DIGEXT.CFG
  28. TASM = TASM
  29. TLINK = tlink
  30.  
  31.  
  32. #        *Implicit Rules*
  33. .c.obj:
  34.   $(CC) -c {$< }
  35.  
  36. .cpp.obj:
  37.   $(CC) -c {$< }
  38.  
  39. #        *List Macros*
  40.  
  41.  
  42. EXE_dependencies =  \
  43.   digext.obj \
  44.   ..\borland\lib\wildargs.obj
  45.  
  46. #        *Explicit Rules*
  47. digext.exe: digext.cfg $(EXE_dependencies)
  48.   $(TLINK) /x/c/d/P-/LC:\BORLAND\LIB @&&|
  49. c0s.obj+
  50. digext.obj+
  51. ..\borland\lib\wildargs.obj
  52. digext
  53.         # no map file
  54. emu.lib+
  55. maths.lib+
  56. cs.lib
  57. |
  58.  
  59.  
  60. #        *Individual File Dependencies*
  61. digext.obj: digext.c 
  62.  
  63. #        *Compiler Configuration File*
  64. digext.cfg: digext.mak
  65.   copy &&|
  66. -ff-
  67. -A
  68. -K
  69. -k-
  70. -d
  71. -wamb
  72. -wamp
  73. -wasm
  74. -wpro
  75. -wcln
  76. -wdef
  77. -wsig
  78. -wnod
  79. -wstv
  80. -wucp
  81. -wuse
  82. -IC:\BORLAND\INCLUDE
  83. -LC:\BORLAND\LIB
  84. -P-.C
  85. | digext.cfg
  86.